<%@tag description="create delete dialog" pageEncoding="UTF-8"%>
<%@attribute name="entity" description="entity title"%>
<div class="modal hide fade" id="delete-modal-window">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">×</button>
        <h3>You want to delete ${entity}</h3>
    </div>
    <div class="modal-body">
        <p>Really delete?</p>
        <p id="item-name"></p>
    </div>
    <div class="modal-footer">
        <a href="#" id="deletion-link" class="btn btn-primary">Yes, delete it, I'm sure</a>
        <a href="#" class="btn" data-dismiss="modal">No, cancel, please</a>
    </div>
</div>